﻿<%@ Control Language="C#" Inherits="Web.Control.WWW.Lesson.EditLesson" %>
<div class="common">
	<div class="submenunew">
		<div class="submenu_l">
				<div class="unsub">
					<div class="unsubsel"><a href="/teaching/"><span><%=GetText("M0036")%></span></a></div>
					<div><img src="/Images/submenu_arrownone.gif" /></div>
				</div>
				<div class="unsub">
					<div class="unsubsel"><a href="/course/"><span><%=GetText("M0037")%></span></a></div>
					<div><img src="/Images/submenu_arrownone.gif" /></div>
				</div>
				<div class="unsub">
					<div class="unsubsel"><a href="/teach/join.htm"><span><%=GetText("TP100")%></span></a></div>
					<div><img src="/Images/submenu_arrownone.gif" /></div>
				</div>
				<div class="cleartm"></div>
		</div>
		<div class="submenu_r"></div>
		<div class="cleartm"></div>
	</div>
	<div id="new_body">
		<div id="body_900">
			<div class="submenu3"></div>
			<div id="body_left"></div>
			<div id="body_main">
				<div class="Title">
					<h1><%=GetText("Edit a Lesson")%></h1>
				</div>
				<div class="Center9001n">	
					<div class="Center9001Right">
						<div class="center9001content">
						<div class="teach_area">
							<div class="margin10"><strong><%=GetText("Title")%>:</strong><br /><input id="LessonText" type="text" class="input_answer_l" value='<%=lm.Title %>'/><span name="__V_S" vt="0" elt1="LessonText" reg=".{3,110}" style="color: Red;display:none" class="validMsg"><%=GetText("ST155",new string[]{"3","110"})%></span></div>
							<div class="margin10"><strong>Content Description:</strong><br /><input type="hidden" id="txtDesc" name="txtDesc" value="<%=HttpUtility.HtmlAttributeEncode(lm.Desc)%>" /><input type="hidden" id="txtDesc___Config" value="ImageBrowserURL=editor/filemanager/browser/default/browser.html?Type%3DImage%26Connector%3Dconnectors/aspx/connector.aspx" /><iframe id="txtDesc___Frame" src="/FCKeditor/editor/fckeditor.html?InstanceName=txtDesc&amp;Toolbar=italkiSimple" width="100%" height="150px" frameborder="no" scrolling="no"></iframe><div id="ErrorDesc" style="display:none" class="red10"><br /><%=GetText("ST155",new string[]{"3","10000"})%></div></div>
							<div class="margin10">
							    <strong>Time Length</strong>
							    <select id="LongTime">
                                    <option value="1" <%=lm.LongTime==1?"selected='selected'":""  %>><%=GetText("0.5 hour") %></option>
                                    <option value="2" <%=lm.LongTime==2?"selected='selected'":""  %>><%=GetText("1 hour") %></option>
                                    <option value="3" <%=lm.LongTime==3?"selected='selected'":""  %>><%=GetText("1.5 hour") %></option>
                                    <option value="4" <%=lm.LongTime==4?"selected='selected'":""  %>><%=GetText("2 hour") %></option>                                    
                                  </select>
                            </div>
							<div class="margin10"><input id="btSave" type="button" value="<%=GetText("Save")%>" class="button" onclick="savelesson()"/> <input type="button" value="<%=GetText("Cancel")%>" class="buttong" onclick="cucancel()"/></div>	
						</div>
						</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script>
var cid="<%=cid %>";
var lid="<%=lid %>";
</script>